package com.test.pojo;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yanglijun
 * @since 2020-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OauthClientDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户端ID，主要用于标识对应的应用
     */
    private String clientId;

    private String resourceIds;

    /**
     * 客户端秘钥，BCryptPasswordEncoder加密
     */
    private String clientSecret;

    /**
     * 对应的范围
     */
    private String scope;

    /**
     * 认证模式
     */
    private String authorizedGrantTypes;

    /**
     * 认证后重定向地址
     */
    private String webServerRedirectUri;

    private String authorities;

    /**
     * 令牌有效期
     */
    private Integer accessTokenValidity;

    /**
     * 令牌刷新周期
     */
    private Integer refreshTokenValidity;

    private String additionalInformation;

    private String autoapprove;


}
